import request from '@/utils/request'

// 查询鱼回收记录列表
export function listFishRecord(query) {
  return request({
    url: '/system/fishRecord/list',
    method: 'get',
    params: query
  })
}

// 查询鱼回收记录详细
export function getFishRecord(id) {
  return request({
    url: '/system/fishRecord/' + id,
    method: 'get'
  })
}

// 新增鱼回收记录
export function addFishRecord(data) {
  return request({
    url: '/system/fishRecord',
    method: 'post',
    data: data
  })
}

// 修改鱼回收记录
export function updateFishRecord(data) {
  return request({
    url: '/system/fishRecord',
    method: 'put',
    data: data
  })
}

// 删除鱼回收记录
export function delFishRecord(id) {
  return request({
    url: '/system/fishRecord/' + id,
    method: 'delete'
  })
}
